<template>
	<view class="content">

		<view class="panel_box">
			<view class="box_title">
				<view class="title_left">现存量列表</view>
				<view class="title_right" ><uni-icons  @click="popupShow"  type="list" color="#9a9a9a" :size="icons[60]" /></view>
			</view>
		</view>
		
		
		<view  class="panel_box" v-for="(item,index) in dataList" :key="index" >
			<view class="panel_item">
				<view class="box_content">
					<view class="order_list">
						<view class="list_item">
							<view class="item_top">
								<view class="top_left">{{item.cInvName}}</view>
								<!--<view class="top_left item_type" v-if="item.inv_code">{{item.inv_code}}</view>-->
								<!--<view class="top_right">{{item.cInvCode}}</view>-->
							</view>
							
							<view class="order_list_item">
								<view class="product_desc">
									<view class="product_desc_item" v-if="item.cInvCode"><text>存货编码：{{item.cInvCode}} </text> </view>
									<view class="product_desc_item" v-if="item.cInvStd"><text>规格型号：{{item.cInvStd}} </text> </view>
									<view class="product_desc_item" v-if="item.cWhName"><text>仓库：{{item.cWhName}}({{item.cWhCode}})</text></view>
									<view class="product_desc_item" v-if="item.iQuantity"><text>卷数：{{item.iQuantity}}</text></view>
									<view class="product_desc_item" v-if="item.iNum"><text>箱数：{{item.iNum}}</text></view>		
								</view>
							</view>
		
						</view>
		
					</view>
				</view>
				
				<view class="product_total">
					{{item.cPosName}} ({{item.cPosCode}})
				</view>

			</view>
		</view>
		
		
		<view v-if="dataList.length==0" class="empty_box">
			暂无数据
		</view>

		<searchBox :show.sync="searchShow" :searchData.sync="searchData" ></searchBox>
	</view>
</template>


<script>
	import  parentPage from '@/common/parent-page.js';
	import {index} from './index.js';
	
	import searchBox from '@/pages/quantity/components/search-box/search-box.vue'
	export default {mixins: [parentPage,index],components: {'searchBox': searchBox}}
</script>



<style>
	@import './index.css';
</style>
